package observer;

import javax.swing.JTextField;

public class ValoareCurenta extends JTextField implements Observer{
	public void upDate(Subject s){
		this.setText(Integer.toString(s.getVal()));
	}

}
